package com.csii.activiti.server.core.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel
public class ActFlowHistoryApprover {
    @ApiModelProperty("任务ID")
    private String taskId;
    @ApiModelProperty("昵称")
    private String nickname;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("审批完成时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty("审批意见")
    private String comment;
//    @ApiModelProperty(value = "是否审核")
//    private boolean processing;

    @ApiModelProperty(value = "是否转交")
    private boolean transfer;
//    @ApiModelProperty(value = "当前任务审批人")
//    private String taskNickname;
    @ApiModelProperty(value = "转交人")
    private List<ActDelegateTaskDetail> transferPersonList;

    @ApiModelProperty(value = "是否有签名")
    private boolean signature;

    @ApiModelProperty(value = "审批状态=同意(agree)驳回(reject)")
    private String approverStatus;
}
